package com.jdzy.model.student.vos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdzy.model.student.pojos.Plan;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PlanSubmitVo extends Plan {
    @ApiModelProperty(value = "计划Id")
    private Long Id;

    @ApiModelProperty(value = "学号stuId")
    private String stuId;

    @ApiModelProperty(value = "计划类型：0表示短期，1表示中期，2表示长期")
    private Byte planType;

    @ApiModelProperty(value = "计划名称")
    private String planName;

    @ApiModelProperty(value = "计划内容")
    private String content;

    @ApiModelProperty(value = "计划开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss ")
    private Date startTime;

    @ApiModelProperty(value = "计划结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss ")
    private Date endTime;
}
